// 配置集合的结构
const {
    Schema,
    model
} = require('mongoose')

const typesSchema = new Schema({
    typesName: String,
    delete: {
        type: Boolean,
        default: false
    },
})

const typesModel = model('typesModel', typesSchema, 'types');
module.exports.typesModel = typesModel;